package com.cib.icarus.core.utils.dfa;

public class DfaMeta {

    /**
     * 发生位置索引起始点
     */
    private int idx;

    /**
     * 匹配的key
     */
    private String matchKey;


    public DfaMeta() {
    }

    public DfaMeta(int idx, String matchKey) {
        this.idx = idx;
        this.matchKey = matchKey;
    }


    public int getIdx() {
        return idx;
    }

    public String getMatchKey() {
        return matchKey;
    }


    public void setIdx(int idx) {
        this.idx = idx;
    }

    public void setMatchKey(String matchKey) {
        this.matchKey = matchKey;
    }


    @Override
    public String toString() {
        return "DfaData{" +
                "idx=" + idx +
                ", matchKey='" + matchKey + '\'' +
                '}';
    }
}
